﻿using System.Configuration;
using System.Xml;

namespace WebConversion.Common.UrlRewriter
{
    public class RewriterConfigurationReader : IConfigurationSectionHandler
    {
        public object Create(object parent, object configContext, XmlNode section)
        {
            return Utility.DeserializeXml<RewriterRuleConfiguration>(section.OuterXml);
        }
    }
}
